package com.fowo.api.model.parilist;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 配对列表 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class ParilistImportPo {

  /** MSKU */
  @ExcelProperty("*MSKU")
  @NotBlank(message = "MSKU不能为空")
  @Size(max = 50, message = "MSKU长度不能超过50")
  private String msku;

  /** 店铺 */
  @ExcelProperty("*店铺")
  @NotBlank(message = "店铺不能为空")
  @Size(max = 50, message = "店铺长度不能超过50")
  private String shopIdShopName;

  @ExcelIgnore
  @Schema(title = "*店铺")
  private String shopId;

  /** sku */
  @ExcelProperty("*sku")
  @NotBlank(message = "sku不能为空")
  @Size(max = 50, message = "sku长度不能超过50")
  private String sku;

  /** 平台 */
  @ExcelProperty("*平台")
  @NotBlank(message = "平台不能为空")
  private String platforms;
}
